import store from '@/store'

// 测试API地址,代理识别后替换
const DEV = "/dev"
//const DEV = "http://localhost:8080"
const PROD = "https://mn.shihuashengyi.cn/api"
const H5 = "https://hnspa.shihuashengyi.cn/api"
const HOSTDEV = "/hostdev"
const apphost="http://192.168.0.103:1888/api"
// 正式API地址 APP地址
// const PROD = "https://mn.shihuashengyi.cn/api"
// 正式API地址 H5地址
// const PROD = "https://hnspa.shihuashengyi.cn/api"
// const PROD = "/api"
// 测试API地址
// const PROD = "https://tmnapi.shihuashengyi.cn"
// const PROD = "http://test1.shihuashengyi.cn/api"
// 实际应用的API地址
const API = DEV // //process.env.NODE_ENV === 'development' ? DEV : PROD;

console.log({API});

//组装地址
export const builderApi = path => `${API}${path}`

// 登录页地址
export const loginPath = '/pages/login/login'

export const tenantId = "000000"

